package com.heima.model.wemeda.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 文章素材关联表(WmNewsMaterial)实体类
 *
 * @author makejava
 * @since 2022-04-12 15:48:07
 */
public class WmNewsMaterial implements Serializable {
    private static final long serialVersionUID = 893376735942565840L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 文章ID
     */
    private Long newsId;
    /**
     * 素材ID
     */
    private Long materialId;
    /**
     * 引用类型;0 : 图片引用  1 : 素材引用
     */
    private Integer type;
    /**
     * 创建人
     */
    private Integer createdBy;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新人
     */
    private Integer updatedBy;
    /**
     * 更新时间
     */
    private Date updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNewsId() {
        return newsId;
    }

    public void setNewsId(Long newsId) {
        this.newsId = newsId;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

}

